package com.pine.sunshineelder.checkin.ao.relative;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

import lombok.Data;

@Data
public class relativeModAo {
	private String name;
	@Pattern(regexp ="\\d{15}|\\d{18}" ,message="身份证号只能为15或18位")
    private String idCard;
    private String relation;
    private String workPhone;
    private String privatePhone;
    private String email;
    private String address;
    private String wechat;
}
